<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>cairo</Name>
        <Homepage>http://cairographics.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <License>MPL-1.1</License>
        <IsA>library</IsA>
        <Summary>2D graphics library with bindings of many programming languages</Summary>
        <Description>Cairo is a 2D graphics library with support for multiple output devices (and fileformats).</Description>
        <Archive sha1sum="490025a0ba0622a853010f49fb6343f29fb70b9b" type="tarxz">http://cairographics.org/releases/cairo-1.14.12.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>lzo-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>libpng-devel</Dependency>
            <Dependency>libxcb-devel</Dependency>
            <Dependency>freetype-devel</Dependency>
            <Dependency>expat-devel</Dependency>
            <Dependency>fontconfig-devel</Dependency>
            <Dependency>libXrender-devel</Dependency>
            <Dependency>pixman-devel</Dependency>
            <Dependency>xcb-util-devel</Dependency>
            <Dependency>libXext-devel</Dependency>
            <Dependency>mesa-devel</Dependency>
            <!--<Dependency>gtk-doc</Dependency>-->
            <!--Dependency>librsvg-devel</Dependency--><!--circle dep-->
            <Dependency>DirectFB-devel</Dependency>
            <Dependency>valgrind</Dependency>
            <!--<Dependency>libspectre-devel</Dependency>
	    <Dependency>poppler-devel</Dependency>-->
        </BuildDependencies>
        <Patches>
            <!--Fedora patches-->
<!--             <Patch level="1">0001-xlib-Don-t-crash-when-swapping-a-0-sized-glyph.patch</Patch> -->
<!--             <Patch level="1">0002-xcb-Don-t-crash-when-swapping-a-0-sized-glyph.patch</Patch> -->
<!-- 	    <Patch level="1">git_fixes.diff</Patch> -->
        </Patches>
    </Source>

    <Package>
        <Name>cairo</Name>
        <RuntimeDependencies>
            <Dependency>lzo</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libpng</Dependency>
            <Dependency>libxcb</Dependency>
            <Dependency>freetype</Dependency>
            <Dependency>fontconfig</Dependency>
            <Dependency>libXrender</Dependency>
            <Dependency>pixman</Dependency>
            <Dependency>libXext</Dependency>
            <Dependency>mesa</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="doc">/usr/share/gtk-doc</Path>
            <Path fileType="info">/usr/share/info</Path>
            <Path fileType="library">/usr/lib</Path>
        </Files>
    </Package>

    <Package>
        <Name>cairo-devel</Name>
        <Summary>Development files for cairo</Summary>
        <RuntimeDependencies>
            <Dependency release="current">cairo</Dependency>
            <Dependency>mesa-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>libpng-devel</Dependency>
            <Dependency>libxcb-devel</Dependency>
            <Dependency>freetype-devel</Dependency>
            <Dependency>pixman-devel</Dependency>
            <Dependency>libXext-devel</Dependency>
            <Dependency>fontconfig-devel</Dependency>
            <Dependency>libXrender-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="data">/usr/lib32/pkgconfig</Path>
        </Files>
    </Package>

    <Package>
        <Name>cairo-32bit</Name>
        <PartOf>emul32</PartOf>
        <Summary>32-bit shared libraries for cairo</Summary>
        <BuildType>emul32</BuildType>
        <BuildDependencies>
            <Dependency>mesa-32bit</Dependency>
            <Dependency>zlib-32bit</Dependency>
            <Dependency>glib2-32bit</Dependency>
            <Dependency>libX11-32bit</Dependency>
            <Dependency>pixman-32bit</Dependency>
            <Dependency>libpng-32bit</Dependency>
            <Dependency>libxcb-32bit</Dependency>
            <Dependency>libXext-32bit</Dependency>
            <Dependency>freetype-32bit</Dependency>
            <Dependency>fontconfig-32bit</Dependency>
            <Dependency>libXrender-32bit</Dependency>
           <!-- <Dependency>libspectre-32bit</Dependency>
            <Dependency>poppler-glib-32bit</Dependency>
            <Dependency>pango-32bit</Dependency>
	    <Dependency>librsvg-32bit</Dependency>
	    <Dependency>gdk-pixbuf-32bit</Dependency>-->
        </BuildDependencies>
        <RuntimeDependencies>
            <Dependency release="current">cairo</Dependency>
            <Dependency>mesa-32bit</Dependency>
            <Dependency>zlib-32bit</Dependency>
            <Dependency>glib2-32bit</Dependency>
            <Dependency>libX11-32bit</Dependency>
            <Dependency>pixman-32bit</Dependency>
            <Dependency>libpng-32bit</Dependency>
            <Dependency>libxcb-32bit</Dependency>
            <Dependency>libXext-32bit</Dependency>
            <Dependency>freetype-32bit</Dependency>
            <Dependency>fontconfig-32bit</Dependency>
            <Dependency>libXrender-32bit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib32/lib*</Path>
            <Path fileType="library">/usr/lib32/cairo</Path>
        </Files>
    </Package>

    <History>
	<Update release="5">
            <Date>2018-01-28</Date>
            <Version>1.14.12</Version>
            <Comment>version Bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2017-02-17</Date>
            <Version>1.14.8</Version>
            <Comment>version Bump</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-09</Date>
            <Version>1.14.2</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-25</Date>
            <Version>1.14.2</Version>
            <Comment>Release Bump.</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-04-18</Date>
            <Version>1.14.2</Version>
            <Comment>First release</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
